package com.ccc.mq.dynamic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName(value = "rocket_info")
public class RocketInfo implements Serializable {

    private static final long serialVersionUID = 4071733741942937358L;

    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * rocketmq的ip地址，必填项
     */
    @TableField(value = "addr_ip")
    private String addrIp;

    /**
     * 消息队列说明
     */
    @TableField(value = "comments")
    private String comments;

    @TableField(value = "create_time")
    private LocalDateTime createTime;

    @TableField(value = "update_time")
    private LocalDateTime updateTime;

}